var mongoose = require('mongoose');
var Schema = mongoose.Schema;
// 新建Schema实例
var productSchema = new Schema({
    "productId":String,
    "productName":String,
    "salePrice":Number,
    "productImage":String,
});

productSchema.add({productNum:String});
// 输出模型
module.exports = mongoose.model('Good',productSchema);